/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package controllers.process;

import controllers.entity.ChamThi;
import java.sql.Date;
import java.util.List;
import models.ChamThiDAO;
 
/**
 *
 * @author HoaDuyen
 */
public class ChamThiProcess {
     private static ChamThiDAO chamThiDAO=new ChamThiDAO();
     public List<ChamThi> getAllChamThi(int macanbo) { 
        return chamThiDAO.getAllChamThiByMaCanBo(macanbo);
      }
      public static boolean insertChamThi(ChamThi x) {
        return chamThiDAO.InsertChamThi(x);
      }
      public static boolean updateChamThi(ChamThi x){
          return chamThiDAO.UpdateChamThi(x);
      }   
      public static boolean deleteChamThiByMaLopHoc(String malophoc){
          return chamThiDAO.DeleteChamThiByMaLopHoc(malophoc);
      }
    
}
